package com.ivsign.lib_idcardidentification;

import android.app.Application;
import android.content.Context;

import com.clj.fastble.callback.BleGattCallback;
import com.clj.fastble.callback.BleScanCallback;
import com.clj.fastble.data.BleDevice;

/**
 * @description :
 * @autHor :  Jason
 * @date : 2018/8/15 19:18
 */

public interface IBlueToothAdapter {


    //初始化
    void init(Application context);


    void scan(BleScanCallback callback);

    // 连接
    public void  connect(String mac, BleGattCallback bleGattCallback);
    // 读卡


    void disconnect();
    void readId(BleDevice bleDevice, DeviceUUID uuid, IReadListener mIReadListener, Context context);

    void reset();
}
